package com.daffodil.workable.service;

import java.util.List;

import com.daffodil.core.entity.Query;
import com.daffodil.workable.entity.WorkableLine;

/**
 * -连线信息Service接口
 * @author yweijian
 * @date 2022-04-07
 * @version 1.0
 * @description
 */
public interface IWorkableLineService {

    /**
     * -分页查询连线信息列表
     * @param query 连线信息
     * @return 连线信息
     */
    public List<WorkableLine> selectWorkableLineList(Query<WorkableLine> query);

    /**
     * -查询连线信息
     * @param id 连线信息ID
     * @return 连线信息
     */
    public WorkableLine selectWorkableLineById(String id);

    /**
     * -新增连线信息
     * @param workableLine
     */
    public void insertWorkableLine(WorkableLine workableLine);

    /**
     * -修改连线信息
     * @param workableLine
     */
    public void updateWorkableLine(WorkableLine workableLine);

    /**
     * -删除连线信息
     * @param ids
     */
    public void deleteWorkableLineByIds(String[] ids);

    /**
     * -查询连线信息
     * @param query
     * @return
     */
    public WorkableLine selectWorkableLine(Query<WorkableLine> query);

    /**
     * -查询连线信息列表
     * @param taskId 计划任务ID
     * @return 连线信息
     */
    public List<WorkableLine> selectWorkableLineListByTaskId(String taskId);

}
